package com.tarena.lbs.content.feign;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.content.config.FeignConfig;
import com.tarena.lbs.content.pojo.vo.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "lbs-user",url = "http://localhost:7070/",configuration = FeignConfig.class)
public interface UserClient {
    @GetMapping("/basic/user/detail")
    public Result<UserVO> detail();
}
